﻿-- Author      : Kurapica
-- Create Date : 04/17/2009

--[[
    Addon
--]]
do
	-- Check Version
	local version = 1
	if not IGAS:RegisterFile("IGAS.Addon", version) then
		return
	end
	
    local _RegisterAddon = {}

    local _metaT = {
        
    }
    
	local _metaF = {
		__index = {
			["NewAddon"] = function(_key, _locale)
				
            
                return _RegisterAddon[_key]
            end,
		},
	
		__newindex = function(_table,_key,_value)
            assert(false)
		end,
	}
    
    IGAS.Addon = setmetatable({}, _metaF)
		
	-- Register Function to IGAS
	IGAS:RegisterFunction("NewAddon", function(self, ...)
		return self.Addon.NewAddon(...)
	end)
end